<?php

$front_end_com = '';
if (isset($_GET["com"])) {
    $front_end_com = trim($_GET["com"]);
}

if ($front_end_com == '') {
    include_once 'components/com_default/index.php';
} else {
    include_once "components/$front_end_com/index.php";
}
?>